package com.ruoyi.net.domain;

import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * L2_VPN 隧道策略对象 busi_l2_vpn_tunnel_strategy
 * 
 * @author tony
 * @date 2025-02-17
 */
public class BusiL2VpnTunnelStrategy extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private String id;

    /** L2VPN业务id */
    @Excel(name = "L2VPN业务id")
    @ApiModelProperty(value = "L2VPN业务id")
    private String l2VpnId;

    /** 隧道类型（srtp、mplstp） */
    @Excel(name = "隧道类型", readConverterExp = "s=rtp、mplstp")
    @ApiModelProperty(value = "隧道类型")
    private String tunnelType;

    /** 关联隧道业务id */
    @Excel(name = "关联隧道业务id")
    @ApiModelProperty(value = "关联隧道业务id")
    private String tunelBusiId;

    /** 隧道策略名 */
    @Excel(name = "隧道策略名")
    @ApiModelProperty(value = "隧道策略名")
    private String busiName;

    /** 隧道策略配置模式 */
    @Excel(name = "隧道策略配置模式")
    @ApiModelProperty(value = "隧道策略配置模式")
    private String tunnelStrategyMode;

    /** 条目状态（0未激活 1已激活） */
    @Excel(name = "条目状态", readConverterExp = "0=未激活,1=已激活")
    @ApiModelProperty(value = "条目状态")
    private String status;

    /** 删除标记（0正常 2删除） */
    private String delFlag;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setL2VpnId(String l2VpnId) 
    {
        this.l2VpnId = l2VpnId;
    }

    public String getL2VpnId() 
    {
        return l2VpnId;
    }
    public void setTunnelType(String tunnelType) 
    {
        this.tunnelType = tunnelType;
    }

    public String getTunnelType() 
    {
        return tunnelType;
    }
    public void setTunelBusiId(String tunelBusiId) 
    {
        this.tunelBusiId = tunelBusiId;
    }

    public String getTunelBusiId() 
    {
        return tunelBusiId;
    }
    public void setBusiName(String busiName) 
    {
        this.busiName = busiName;
    }

    public String getBusiName() 
    {
        return busiName;
    }
    public void setTunnelStrategyMode(String tunnelStrategyMode) 
    {
        this.tunnelStrategyMode = tunnelStrategyMode;
    }

    public String getTunnelStrategyMode() 
    {
        return tunnelStrategyMode;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("l2VpnId", getL2VpnId())
            .append("tunnelType", getTunnelType())
            .append("tunelBusiId", getTunelBusiId())
            .append("busiName", getBusiName())
            .append("tunnelStrategyMode", getTunnelStrategyMode())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
